﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MotoreDataBase;

namespace TestForm
{
    [Nome("Classe")]

    [NonQuery("SelectId", "SELECT * FROM Prova WHERE Id = @id")]

    class Classe
    {
        [Nome("Id")]
        [TableDefinition(TipoDatiDb.INT, 0, false, true, true)] 
        public int Id { get; set; }
        [Nome("Descrizione")]
        [TableDefinition(TipoDatiDb.VARCHAR, 100)]
        public string Descrizione { get; set; }
    }
}
